package com.atguigu.service;

import com.atguigu.pojo.User;

/**
 * @Author luoyin
 * @Date 18:06 2022/7/15
 **/
public interface UserService {
    User getNamePwdService(String username, String password)throws Exception;

    User selectByNameService(String userName)throws Exception;

    int registService(User user)throws Exception;

    User loginService(String username, String password)throws Exception;
}
